package com.easy.frame.common.process.entity.template.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 添加流程参数对象
 *
 * @author zzf
 * @date 2021/3/31 19:33
 */
@Data
public class ProcessAddDetailDTO implements Serializable {

    @NotEmpty
    @ApiModelProperty("名称")
    private String name;

    @NotEmpty
    @ApiModelProperty("流程定义编码")
    private String processDefineCode;

    @NotEmpty
    @ApiModelProperty("条件集合")
    private List<ProcessConditionAddDTO> conditionList;

    @NotEmpty
    @ApiModelProperty("节点集合")
    private List<ProcessNodeAddDTO> nodeList;

}
